package com.ruoyi.basedata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 仓库对象 t_bd_warehouse
 * 
 * @author ptt
 * @date 2023-02-08
 */
public class BdWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehousenumber;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehousename;

    /** 库存组织编码 */
    @Excel(name = "库存组织编码")
    private String storageorgnumber;

    /** 库存组织名称 */
    @Excel(name = "库存组织名称")
    private String storageorgname;

    /** 在途仓编码 */
    @Excel(name = "在途仓编码")
    private String transferwhnumber;

    /** 在途仓名称 */
    @Excel(name = "在途仓名称")
    private String transferwhname;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间")
    private Date updatetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehousenumber(String warehousenumber) 
    {
        this.warehousenumber = warehousenumber;
    }

    public String getWarehousenumber() 
    {
        return warehousenumber;
    }
    public void setWarehousename(String warehousename) 
    {
        this.warehousename = warehousename;
    }

    public String getWarehousename() 
    {
        return warehousename;
    }
    public void setStorageorgnumber(String storageorgnumber) 
    {
        this.storageorgnumber = storageorgnumber;
    }

    public String getStorageorgnumber() 
    {
        return storageorgnumber;
    }
    public void setStorageorgname(String storageorgname) 
    {
        this.storageorgname = storageorgname;
    }

    public String getStorageorgname() 
    {
        return storageorgname;
    }
    public void setTransferwhnumber(String transferwhnumber) 
    {
        this.transferwhnumber = transferwhnumber;
    }

    public String getTransferwhnumber() 
    {
        return transferwhnumber;
    }
    public void setTransferwhname(String transferwhname) 
    {
        this.transferwhname = transferwhname;
    }

    public String getTransferwhname() 
    {
        return transferwhname;
    }
    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehousenumber", getWarehousenumber())
            .append("warehousename", getWarehousename())
            .append("storageorgnumber", getStorageorgnumber())
            .append("storageorgname", getStorageorgname())
            .append("transferwhnumber", getTransferwhnumber())
            .append("transferwhname", getTransferwhname())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
